package com.snake.springboot.custom.api.service.fileoss;


import com.snake.springboot.custom.api.model.fileoss.FileOSSModel;
import com.snake.springboot.custom.api.model.fileoss.OSSDelModel;
import com.snake.springboot.custom.api.model.fileoss.OSSUrlModel;
import com.snake.springboot.custom.api.response.fileoss.OSSPoliciesRsp;

/**
 * <p>OSS业务接口
 * 类{@code OssService} </br>
 * 创建时间2025/5/8 10:05
 * @author yangxt
 * @see
 */
public interface OSSService {

    String ossType();

    OSSPoliciesRsp generatePolicies(String fileUrl, FileOSSModel ossModel);

    void delOssUrls(OSSDelModel delModel, FileOSSModel ossModel);

    String generatePresignedUrl(OSSUrlModel urlModel, FileOSSModel ossModel);

    String videoFirstFrame(OSSUrlModel urlModel, FileOSSModel ossModel);

}



